package com.neusoft.customerserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 客户关联表
 * </p>
 *
 * @author victor
 * @since 2021-07-11
 */
public class CustomerCustomer implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 客户关联编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 关联客户1编号
     */
    private Integer relativeCustomerId1;

    /**
     * 关联客户2编号
     */
    private Integer relativeCustomerId2;

    /**
     * 客户关系编号
     */
    private Integer customerRelationId;

    /**
     * 客户关系名称
     */
    private String customerRelationName;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRelativeCustomerId1() {
        return relativeCustomerId1;
    }

    public void setRelativeCustomerId1(Integer relativeCustomerId1) {
        this.relativeCustomerId1 = relativeCustomerId1;
    }

    public Integer getRelativeCustomerId2() {
        return relativeCustomerId2;
    }

    public void setRelativeCustomerId2(Integer relativeCustomerId2) {
        this.relativeCustomerId2 = relativeCustomerId2;
    }

    public Integer getCustomerRelationId() {
        return customerRelationId;
    }

    public void setCustomerRelationId(Integer customerRelationId) {
        this.customerRelationId = customerRelationId;
    }

    public String getCustomerRelationName() {
        return customerRelationName;
    }

    public void setCustomerRelationName(String customerRelationName) {
        this.customerRelationName = customerRelationName;
    }

    @Override
    public String toString() {
        return "CustomerCustomer{" +
        "id=" + id +
        ", relativeCustomerId1=" + relativeCustomerId1 +
        ", relativeCustomerId2=" + relativeCustomerId2 +
        ", customerRelationId=" + customerRelationId +
        ", customerRelationName=" + customerRelationName +
        "}";
    }
}
